<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			{{message}}
		</div>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			let vm = new Vue({
				el:'#app',
				data:{
					message:'hello vue!'
				},
				beforeCreate() {
					console.log('beforeCreate...');
				},
				created() {
					console.log("created...");
				},
				beforeMount() {
					console.log("beforeMount...");
				},
				mounted() {
					console.log('mounted....');
					this.message='hello vue-cli'
				},
				beforeUpdate() {
					console.log('beforeUpdate...');
				},
				updated() {
					console.log('updated...');
				},
				beforeDestroy() {
					console.log('beforeDestroy...');
				},
				destroyed() {
					console.log('destroyed...');
				}
			})
		</script>
	</body>
</html>
